package com.teach.entity;

import com.teach.util.DBUtil;

import java.io.Serializable;

public class AdminInfo implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * ADMIN_ID INT 管理员编号
   */
  @DBUtil.Id
  private Integer adminId;

  /**
   * ADMIN_NAME VARCHAR 管理员名称
   */
  private String adminName;

  /**
   * ADMIN_PWD VARCHAR 管理员密码
   */
  private String adminPwd;

  /**
   * ADMIN_CREATE_TIME DATETIME 管理员创建时间
   */
  private java.util.Date adminCreateTime;

  /**
   * - 无参构造方法
   */
  public AdminInfo() {
  }

  /**
   * - 全参构造方法
   */
  public AdminInfo(Integer adminId, String adminName, String adminPwd, java.util.Date adminCreateTime) {
    this.adminId = adminId;
    this.adminName = adminName;
    this.adminPwd = adminPwd;
    this.adminCreateTime = adminCreateTime;
  }

  /**
   * - 主键构造方法
   */
  public AdminInfo(Integer adminId) {
    this.adminId = adminId;
  }


  /**
   * - 获取管理员编号
   */
  public Integer getAdminId() {
    return adminId;
  }

  /**
   * - 设置管理员编号
   */
  public void setAdminId(Integer adminId) {
    this.adminId = adminId;
  }

  /**
   * - 获取管理员名称
   */
  public String getAdminName() {
    return adminName;
  }

  /**
   * - 设置管理员名称
   */
  public void setAdminName(String adminName) {
    this.adminName = adminName;
  }

  /**
   * - 获取管理员密码
   */
  public String getAdminPwd() {
    return adminPwd;
  }

  /**
   * - 设置管理员密码
   */
  public void setAdminPwd(String adminPwd) {
    this.adminPwd = adminPwd;
  }

  /**
   * - 获取管理员创建时间
   */
  public java.util.Date getAdminCreateTime() {
    return adminCreateTime;
  }

  /**
   * - 设置管理员创建时间
   */
  public void setAdminCreateTime(java.util.Date adminCreateTime) {
    this.adminCreateTime = adminCreateTime;
  }

  @Override
  public String toString() {
    StringBuilder builder = new StringBuilder();
    builder.append("AdminInfo [adminId=");
    builder.append(adminId);
    builder.append(", adminName=");
    builder.append(adminName);
    builder.append(", adminPwd=");
    builder.append(adminPwd);
    builder.append(", adminCreateTime=");
    builder.append(adminCreateTime);
    builder.append("]");
    return builder.toString();
  }
}
